package com.ming.mapper;

import com.ming.pojo.Custom;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CustomMapper {

    @Select("select * from gyl_custom")
    List<Custom> searchAllCustom();

    @Select("select * from gyl_custom where custom_name=#{customName}")
    List<Custom> searchCustomByName(String customName);

}
